package com.aaa.doctor.feign.system;

import com.aaa.entity.Dept;
import com.aaa.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author MuChengGuo
 * @date 2023/3/27 15:29
 * Description: TODO
 **/
@FeignClient(value = "his-open-system")
public interface DeptFeign {

    @GetMapping("system/dept/list")
    public List<Dept> getList();

    @GetMapping("system/dept/updNum/{deptId}/{regNumber}")
    public  String getUpdNum(@PathVariable Long deptId, @PathVariable Integer regNumber);
}
